<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" href="./views/css/qzonelogin.css" type="text/css" media="screen" /> 
	<script type="text/javascript" src="./views/js/common.js"></script>
	<title>登录</title>
	<script type="text/javascript">
		(function(){if(location.href.indexOf('qzone.qq.com/app')>-1){location.href="http://my.qzone.qq.com/";}else if(location.href.indexOf('qzone.com')>-1){location.href="http://qzone.qq.com/";}})();
		document.domain="qq.com";
		(function(){var ua = navigator.userAgent,mat = ua.match(/(iPhone|iPod|android|symbian)/i);if(mat){location.replace('http://z.qq.com/');}})();
		function getCookie(n){var r = new RegExp("(?:^|;+|\\s+)" + n + "=([^;]*)"), m = document.cookie.match(r);return (!m ? "" : m[1]);}
		function setCookie(name, value, domain, path, hour) {if(hour) {var expire = new Date();expire.setTime(expire.getTime() + 3600000 * hour);}document.cookie = name + "=" + value + "; " + (hour ? ("expires=" + expire.toGMTString() + "; ") : "") + (path ? ("path=" + path + "; ") : "path=/; ") + (domain ? ("domain=" + domain + ";") : ("domain=qq.com;"));return true;};
		function getType(obj){return obj === null ? 'null' : (obj === undefined ? 'undefined' : Object.prototype.toString.call(obj).slice(8, -1).toLowerCase());};
		(function(){
			var ref=document.referrer||location.href;
			if(ref.indexOf("://") < 1) {ref = location.protocol + "/" + location.host + (ref.indexOf("") == 0 ? "" : location.pathname.substr(0, location.pathname.lastIndexOf("") + 1)) + ref;}
			var depart = ref.split("://");
			if(getType(depart) == "array" && depart.length > 1 && (/^[a-zA-Z]+$/).test(depart[0])){var h = depart[1].split("");setCookie('_qz_referrer',h[0],'qq.com',"",0.1);}
			var _su,suin,checklogin_r = /\D/g;suin = (_su=getCookie('uin').replace(checklogin_r, '')-0) && getCookie('skey') && _su > 10000 && _su || 0;if(suin){location.href = "http://user.qzone.qq.com/"+suin;}
		})();
		var jumpurl = 'http://imgcache.qq.com/qzone/v5/loginsucc.html?para=izone',p_smallPic='',p_smallUrl='',p_bgPics=[],p_bgPic=[];
		function $(id){return document.getElementById(id);}
		function ptlogin2_onResize(w, h) {try{}catch(e){}}
		function ptlogin2_onMibaoCancel(){
			var qlogin = $('qlogin');
			qlogin.style.display = 'none';
			qlogin.style.height = 'auto';
			qlogin.style.overflow = 'auto';
			$('web_login').style.display = 'block';
			var script = document.createElement("script");
			script.charset= 'utf-8';
			script.src ="http://imgcache.qq.com/ptlogin/ac/v9/js/login_div.js";
			document.body.appendChild(script);
		}
    </script>
    <link href="http://qzonestyle.gtimg.cn/qzone_v6/proj_qzonelogin/qzonelogin.css?20130306" rel="stylesheet" media="screen" />
</head>
<body>
<div class="lay_wrap" id="lay">
	<div class="lay_main clearfix">
		<div class="lay_inner">
			<div class="login_head">
				
			</div>
			<div class="login_img">
				<span class="img_slogan"></span>
			</div>
			<div class="login_wrap">
			    <div id="normal_login">
			        <form name="f" method="post" action="./index.php?action=login">
                        <div class="login_form" id="web_login">
                            <div class="form_item form_item_username">
                                <label id="uhint" for="u" class="ui_placeholder">用户名</label>
                               <input type="text" name="user" id="user" class="ui_textinput" onfocus="mouseon()" onblur="mouseout()" />
                            </div>
                            <div class="form_item form_item_password">
                                <label id="phint" for="p" class="ui_placeholder">密码</label>
                               <input type="password" name="pw" id="pw" class="ui_textinput" onfocus="keyon()" onblur="keyout()" />
                            </div>

                            <div class="form_item form_item_btn">
                                <button class="ui_btn btn_login" type="submit" id="subbtn"><input type="submit" value="" class="btn_login"></button>
							</div>
							<div class="ispersis"><input type="checkbox" name="ispersis" id="ispersis" value="1" /><span>记住我</span></span>
                        </div>
                    </form>

			    </div>
				<!--二维码-->
      
			</div>
        </div>
	</div>


</div>

<div class="lay_background" id="lay_bg">
	<img class="lay_background_img" id="lay_bg_img"  alt="" />
</div>
<script type="text/javascript" src="http://qzs.qq.com/qzone/v6/v6_config/portal_10206.js" charset="UTF-8"></script>
<script type="text/javascript">
var bg_img=$('lay_bg_img'),bgArr=[];
if(p_bgPic.length==0){
	p_bgPic = [[1,'upfile_1759896_1352170422.jpg',0],[0,'upfile_1998047_1352170438.jpg',0],[1,'upfile_2040396_1352170450.jpg',0]];
}
for(var i=0,len=p_bgPic.length;i<len;i++){
	if(p_bgPic[i].length>0){
		bgArr.push(p_bgPic[i]);
	}
}
var bg_Data = bgArr[Math.floor(Math.random()*(bgArr.length))],bg_type = bg_Data[0],ft_col = bg_Data[2]||0;
if(bg_type==0){
	$('css').value = 'http://imgcache.qq.com/ptcss/b2/sjpt/549000913/qzonelogin_ptlogin_dark.css';
	$('aid').value = '549000913';
}
</script>
<script type="text/javascript" src="http://imgcache.qq.com/ptlogin/ac/v9/js/login_div.js?v=1.2.1" charset="UTF-8"></script>
<script type="text/javascript">
window.QZFL=window.QZFL||{};QZFL.pingSender=function(url,t,opts){var _s=QZFL.pingSender,iid,img;if(!url){return;}
opts=opts||{};iid="sndImg_"+_s._sndCount++;img=_s._sndPool[iid]=new Image();img.iid=iid;img.onload=img.onerror=img.ontimeout=(function(t){return function(evt){evt=evt||window.event||{type:'timeout'};void(typeof(opts[evt.type])=='function'?setTimeout((function(et,ti){return function(){opts[et]({'type':et,'duration':((new Date()).getTime()-ti)});};})(evt.type,t._s_),0):0);QZFL.pingSender._clearFn(evt,t);};})(img);(typeof(opts.timeout)=='function')&&setTimeout(function(){img.ontimeout&&img.ontimeout({type:'timeout'});},(typeof(opts.timeoutValue)=='number'?Math.max(100,opts.timeoutValue):5000));void((typeof(t)=='number')?setTimeout(function(){img._s_=(new Date()).getTime();img.src=url;},(t=Math.max(0,t))):(img.src=url));};QZFL.pingSender._sndPool={};QZFL.pingSender._sndCount=0;QZFL.pingSender._clearFn=function(evt,ref){var _s=QZFL.pingSender;if(ref){_s._sndPool[ref.iid]=ref.onload=ref.onerror=ref.ontimeout=ref._s_=null;delete _s._sndPool[ref.iid];_s._sndCount--;ref=null;}};if(typeof(window.TCISD)=="undefined"){window.TCISD={};}
TCISD.pv=function(sDomain,path,opts){setTimeout(function(){TCISD.pv.send(sDomain,path,opts);},0);};(function(){var items=[],timer=null;var pvSender={send:function(domain,url,rDomain,rUrl){items.push({dm:domain,url:url,rdm:rDomain||"",rurl:rUrl||""});if(!timer){timer=setTimeout(pvSender.doSend,5000);}},doSend:function(){timer=null;if(items.length){var url;for(var i=0;i<items.length;i++){url=pvSender.getUrl(items.slice(0,items.length-i));if(url.length<2000){break;}}
items=items.slice(Math.max(items.length-i,1));if(i>0){timer=setTimeout(pvSender.doSend,5000);}
QZFL.pingSender(url);}},getUrl:function(list){var item=list[0];var data={dm:escape(item.dm),url:escape(item.url),rdm:escape(item.rdm),rurl:escape(item.rurl),pgv_pvid:pvSender.getId(),sds:Math.random()};var ext=[];for(var i=1;i<list.length;i++){var p=list[i];ext.push([escape(p.dm),escape(p.url),escape(p.rdm),escape(p.rurl)].join(":"));}
if(ext.length){data.ex_dm=ext.join(";")}
var param=[];for(var p in data){param.push(p+"="+data[p]);}
var url=[TCISD.pv.config.webServerInterfaceURL,"?cc=-&ct=-&java=1&lang=-&pf=-&scl=-&scr=-&tt=-&tz=-8&vs=3.3&flash=&",param.join("&")].join("");return url;},getId:function(){var t,d,h,f;t=document.cookie.match(TCISD.pv._cookieP);if(t&&t.length&&t.length>1){d=t[1];}else{d=(Math.round(Math.random()*2147483647)*(new Date().getUTCMilliseconds()))%10000000000;document.cookie="pgv_pvid="+d+"; path=/; domain=qq.com; expires=Sun, 18 Jan 2038 00:00:00 GMT;";}
h=document.cookie.match(TCISD.pv._cookieSSID);if(!h){f=(Math.round(Math.random()*2147483647)*(new Date().getUTCMilliseconds()))%10000000000;document.cookie="pgv_info=ssid=s"+f+"; path=/; domain=qq.com;";}
return d;}};TCISD.pv.send=function(sDomain,path,opts){sDomain=sDomain||location.hostname||"-";path=path||location.pathname;opts=opts||{};opts.referURL=opts.referURL||document.referrer;var t,d,r;t=opts.referURL.split(TCISD.pv._urlSpliter);t=t[0];t=t.split("");d=t[2]||"-";r=""+t.slice(3).join("");opts.referDomain=opts.referDomain||d;opts.referPath=opts.referPath||r;pvSender.send(sDomain,path,opts.referDomain,opts.referPath);};})()
TCISD.pv._urlSpliter=/[\?\#]/;TCISD.pv._cookieP=/(?:^|;+|\s+)pgv_pvid=([^;]*)/i;TCISD.pv._cookieSSID=/(?:^|;+|\s+)pgv_info=([^;]*)/i;TCISD.pv.config={webServerInterfaceURL:"http://pingfore.qq.com/pingd"};window.TCISD=window.TCISD||{};TCISD.createTimeStat=function(statName,flagArr,standardData){var _s=TCISD.TimeStat,t,instance;flagArr=flagArr||_s.config.defaultFlagArray;t=flagArr.join("_");statName=statName||t;if(instance=_s._instances[statName]){return instance;}else{return(new _s(statName,t,standardData));}};TCISD.markTime=function(timeStampSeq,statName,flagArr,timeObj){var ins=TCISD.createTimeStat(statName,flagArr);ins.mark(timeStampSeq,timeObj);return ins;};TCISD.TimeStat=function(statName,flags,standardData){var _s=TCISD.TimeStat;this.sName=statName;this.flagStr=flags;this.timeStamps=[null];this.zero=_s.config.zero;if(standardData){this.standard=standardData;}
_s._instances[statName]=this;_s._count++;};TCISD.TimeStat.prototype.getData=function(seq){var r={},t,d;if(seq&&(t=this.timeStamps[seq])){d=new Date();d.setTime(this.zero.getTime());r.zero=d;d=new Date();d.setTime(t.getTime());r.time=d;r.duration=t-this.zero;if(this.standard&&(d=this.standard.timeStamps[seq])){r.delayRate=(r.duration-d)/d;}}else{r.timeStamps=TCISD.TimeStat._cloneData(this.timeStamps);}
return r;};TCISD.TimeStat._cloneData=function(obj){if((typeof obj)=='object'){var res=obj.sort?[]:{};for(var i in obj){res[i]=TCISD.TimeStat._cloneData(obj[i]);}
return res;}else if((typeof obj)=='function'){return Object;}
return obj;};TCISD.TimeStat.prototype.mark=function(seq,timeObj){seq=seq||this.timeStamps.length;this.timeStamps[Math.min(Math.abs(seq),99)]=timeObj||(new Date());return this;};TCISD.TimeStat.prototype.merge=function(baseTimeStat){var x,y;if(baseTimeStat&&(typeof(baseTimeStat.timeStamps)=="object")&&baseTimeStat.timeStamps.length){this.timeStamps=baseTimeStat.timeStamps.concat(this.timeStamps.slice(1));}else{return this;}
if(baseTimeStat.standard&&(x=baseTimeStat.standard.timeStamps)){if(!this.standard){this.standard={};}
if(!(y=this.standard.timeStamps)){y=this.standard.timeStamps={};}
for(var key in x){if(!y[key]){y[key]=x[key];}}}
return this;};TCISD.TimeStat.prototype.setZero=function(od){if(typeof(od)!="object"||typeof(od.getTime)!="function"){od=new Date();}
this.zero=od;return this;};TCISD.TimeStat.prototype.report=function(baseURL){var _s=TCISD.TimeStat,url=[],t,z;if((t=this.timeStamps).length<1){return this;}
url.push((baseURL&&baseURL.split("?")[0])||_s.config.webServerInterfaceURL);url.push("?");z=this.zero;for(var i=1,len=t.length;i<len;++i){if(t[i]){url.push(i,"=",t[i].getTime?(t[i]-z):t[i],"&");}}
t=this.flagStr.split("_");for(var i=0,len=_s.config.maxFlagArrayLength;i<len;++i){if(t[i]){url.push("flag",i+1,"=",t[i],"&");}}
if(_s.pluginList&&_s.pluginList.length){for(var i=0,len=_s.pluginList.length;i<len;++i){(typeof(_s.pluginList[i])=='function')&&_s.pluginList[i](url);}}
url.push("sds=",Math.random());QZFL.pingSender&&QZFL.pingSender(url.join(""));return this;};TCISD.TimeStat._instances={};TCISD.TimeStat._count=0;TCISD.TimeStat.config={webServerInterfaceURL:"http://isdspeed.qq.com/cgi-bin/r.cgi",defaultFlagArray:[175,115,1],maxFlagArrayLength:6,zero:window._s_||(new Date())};window.TCISD=window.TCISD||{};TCISD.valueStat=function(statId,resultType,returnValue,opts){setTimeout(function(){TCISD.valueStat.send(statId,resultType,returnValue,opts);},0);};TCISD.valueStat.send=function(statId,resultType,returnValue,opts){var _s=TCISD.valueStat,_c=_s.config,t=_c.defaultParams,p,url=[];statId=statId||t.statId;resultType=resultType||t.resultType;returnValue=returnValue||t.returnValue;opts=opts||t;if(typeof(opts.reportRate)!="number"){opts.reportRate=1;}
opts.reportRate=Math.round(Math.max(opts.reportRate,1));if(!opts.fixReportRateOnly&&!TCISD.valueStat.config.reportAll&&(opts.reportRate>1&&(Math.random()*opts.reportRate)>1)){return;}
url.push((opts.reportURL||_c.webServerInterfaceURL),"?");url.push("flag1=",statId,"&","flag2=",resultType,"&","flag3=",returnValue,"&","1=",(TCISD.valueStat.config.reportAll?1:opts.reportRate),"&","2=",opts.duration,"&");if(typeof opts.extendField!='undefined'){url.push("4=",opts.extendField,"&");}
if(_s.pluginList&&_s.pluginList.length){for(var i=0,len=_s.pluginList.length;i<len;++i){(typeof(_s.pluginList[i])=='function')&&_s.pluginList[i](url);}}
url.push("sds=",Math.random());QZFL.pingSender(url.join(""));};TCISD.valueStat.config={webServerInterfaceURL:"http://isdspeed.qq.com/cgi-bin/v.cgi",defaultParams:{statId:1,resultType:1,returnValue:11,reportRate:1,duration:1000},reportAll:false};if(typeof(window.TCISD)=="undefined"){window.TCISD={};};TCISD.hotClick=TCISD.hotClick||function(tag,domain,url,opt){TCISD.hotClick.send(tag,domain,url,opt);};TCISD.hotClick.send=function(tag,domain,url,opt){opt=opt||{};var _s=TCISD.hotClick,x=opt.x||9999,y=opt.y||9999,doc=opt.doc||document,w=doc.parentWindow||doc.defaultView,p=w._hotClick_params||{};url=url||p.url||w.location.pathname||"-";domain=domain||p.domain||w.location.hostname||"-";if(!_s.isReport()){return;}
url=[_s.config.webServerInterfaceURL,"?dm=",domain+".hot","&url=",escape(url),"&tt=-","&hottag=",tag,"&hotx=",x,"&hoty=",y,"&rand=",Math.random()];QZFL.pingSender(url.join(""));};TCISD.hotClick._arrSend=function(arr,doc){for(var i=0,len=arr.length;i<len;i++){TCISD.hotClick.send(arr[i].tag,arr[i].domain,arr[i].url,{doc:doc});}};TCISD.hotClick.click=function(event,doc){var _s=TCISD.hotClick,tags=_s.getTags(QZFL.event.getTarget(event),doc);_s._arrSend(tags,doc);};TCISD.hotClick.getTags=function(dom,doc){var _s=TCISD.hotClick,tags=[],w=doc.parentWindow||doc.defaultView,rules=w._hotClick_params.rules,t;for(var i=0,len=rules.length;i<len;i++){if(t=rules[i](dom)){tags.push(t);}}
return tags;};TCISD.hotClick.defaultRule=function(dom){var tag,domain,t;tag=dom.getAttribute("hottag");if(tag&&tag.indexOf("|")>-1){t=tag.split("|");tag=t[0];domain=t[1];}
if(tag){return{tag:tag,domain:domain};}
return null;};TCISD.hotClick.config=TCISD.hotClick.config||{webServerInterfaceURL:"http://pinghot.qq.com/pingd",reportRate:1,domain:null,url:null};TCISD.hotClick._reportRate=typeof TCISD.hotClick._reportRate=='undefined'?-1:TCISD.hotClick._reportRate;TCISD.hotClick.isReport=function(){var _s=TCISD.hotClick,rate;if(_s._reportRate!=-1){return _s._reportRate;}
rate=Math.round(_s.config.reportRate);if(rate>1&&(Math.random()*rate)>1){return(_s._reportRate=0);}
return(_s._reportRate=1);};TCISD.hotClick.setConfig=function(opt){opt=opt||{};var _sc=TCISD.hotClick.config,doc=opt.doc||document,w=doc.parentWindow||doc.defaultView;if(opt.domain){w._hotClick_params.domain=opt.domain;}
if(opt.url){w._hotClick_params.url=opt.url;}
if(opt.reportRate){w._hotClick_params.reportRate=opt.reportRate;}};TCISD.hotAddRule=function(handler,opt){opt=opt||{};var _s=TCISD.hotClick,doc=opt.doc||document,w=doc.parentWindow||doc.defaultView;if(!w._hotClick_params){return;}
w._hotClick_params.rules.push(handler);return w._hotClick_params.rules;};TCISD.hotClickWatch=function(opt){opt=opt||{};var _s=TCISD.hotClick,w,l,doc;doc=opt.doc=opt.doc||document;w=doc.parentWindow||doc.defaultView;if(l=doc._hotClick_init){return;}
l=true;if(!w._hotClick_params){w._hotClick_params={};w._hotClick_params.rules=[_s.defaultRule];}
_s.setConfig(opt);w.QZFL.event.addEvent(doc,"click",_s.click,[doc]);};if(typeof(window.TCISD)=='undefined'){window.TCISD={};}
TCISD.stringStat=function(dataId,hashValue,opts){setTimeout(function(){TCISD.stringStat.send(dataId,hashValue,opts);},0);};TCISD.stringStat.send=function(dataId,hashValue,opts){var _s=TCISD.stringStat,_c=_s.config,t=_c.defaultParams,url=[],isPost=false,htmlParam,sd;dataId=dataId||t.dataId;opts=opts||t;isPost=(opts.method&&opts.method=='post')?true:false;if(typeof(hashValue)!="object"){return;}
for(var i in hashValue){if(hashValue[i].length&&hashValue[i].length>1024){hashValue[i]=hashValue[i].substring(0,1024);}}
if(typeof(opts.reportRate)!='number'){opts.reportRate=1;}
opts.reportRate=Math.round(Math.max(opts.reportRate,1));if(opts.reportRate>1&&(Math.random()*opts.reportRate)>1){return;}
if(isPost&&QZFL.FormSender){hashValue.dataId=dataId;hashValue.sds=Math.random();var sd=new QZFL.FormSender(_c.webServerInterfaceURL,'post',hashValue,'UTF-8');sd.send();}else{htmlParam=TCISD.stringStat.genHttpParamString(hashValue);url.push(_c.webServerInterfaceURL,'?');url.push('dataId=',dataId);url.push('&',htmlParam,'&');url.push('ted=',Math.random());QZFL.pingSender(url.join(''));}};TCISD.stringStat.config={webServerInterfaceURL:'http://s.isdspeed.qq.com/cgi-bin/s.fcg',defaultParams:{dataId:1,reportRate:1,method:'get'}};TCISD.stringStat.genHttpParamString=function(o){var res=[];for(var k in o){res.push(k+'='+window.encodeURIComponent(o[k]));}
return res.join('&');};

window.QZFL = window.QZONE = window.QZFL || window.QZONE || {};
QZFL.dom={
	getById : function(id) {return document.getElementById(id);},
	getClientHeight : function(doc){var _doc = doc || document;return _doc.compatMode == "CSS1Compat" ? _doc.documentElement.clientHeight : _doc.body.clientHeight;},
	getClientWidth : function(doc){var _doc = doc || document;return _doc.compatMode == "CSS1Compat" ? _doc.documentElement.clientWidth : _doc.body.clientWidth;}
};
QZFL.css = {
	_reClassToken: /\s+/,
	addClassName: function(elem, names){var _s = QZFL.css;return names && ((elem && elem.classList && !_s._reClassToken.test(names)) ? elem.classList.add(names) : _s.updateClassName(elem, null, names));},
	removeClassName: function(elem, names){var _s = QZFL.css;return names && ((elem && elem.classList && !_s._reClassToken.test(names)) ? elem.classList.remove(names) : _s.updateClassName(elem, names));},
	updateClassName: function(elem, removeNames, addNames){if (!elem || elem.nodeType != 1) {return "";}var oriName = elem.className,_s = QZFL.css,ar,b;if (removeNames && typeof(removeNames) == 'string' || addNames && typeof(addNames) == 'string') {if (removeNames == '*'){oriName = '';}else{ar = oriName.split(_s._reClassToken);var i = 0,l = ar.length,n;oriName = {};for (; i < l; ++i) {ar[i] && (oriName[ar[i]] = true);}if (addNames) {ar = addNames.split(_s._reClassToken);l = ar.length;for (i = 0; i < l; ++i) {(n = ar[i]) && !oriName[n] && (b = oriName[n] = true);}}if (removeNames) {ar = removeNames.split(_s._reClassToken);l = ar.length;for (i = 0; i < l; i++) {(n = ar[i]) && oriName[n] && (b = true) && delete oriName[n];}}}if (b) {ar.length = 0;for (var k in oriName) {ar.push(k);}oriName = ar.join(' ');elem.className = oriName;}}return oriName;}};
QZFL.event = {
	_eventListDictionary : {},
	_fnSeqUID : 0,
	_objSeqUID : 0,
	addEvent : function(obj, eventType, fn, argArray) {
		var cfn,res = false,l,handlers;
		if (!obj) {return res;}
		if (!obj.eventsListUID) {obj.eventsListUID = "e" + (++QZFL.event._objSeqUID);}
		if (!(l = QZFL.event._eventListDictionary[obj.eventsListUID])) {l = QZFL.event._eventListDictionary[obj.eventsListUID] = {};}
		if (!fn.__elUID) {fn.__elUID = "e" + (++QZFL.event._fnSeqUID) + obj.eventsListUID;}
		if (!l[eventType]) {l[eventType] = {};}
		if (!l[eventType].handlers) {l[eventType].handlers = {};}
        handlers = l[eventType].handlers;
		if(typeof(handlers[fn.__elUID]) == 'function'){return false;}
		cfn = function(evt) {return fn.apply(obj, !argArray ? [QZFL.event.getEvent(evt)] : ([QZFL.event.getEvent(evt)]).concat(argArray));};
		if (obj.addEventListener) {
			obj.addEventListener(eventType, cfn, false);
			res = true;
		} else if (obj.attachEvent) {
			res = obj.attachEvent("on" + eventType, cfn);
		} else {
			res = false;
		}
		if (res) {
			handlers[fn.__elUID] = cfn;
		}
		return res;
	},
	getEvent: function(evt) {
		var evt = window.event || evt || null,c, _s = QZFL.event.getEvent, ct = 0;
		if(!evt){
			c = arguments.callee;
			while(c && ct < _s.MAX_LEVEL){
				if((evt = c.arguments[0]) && (typeof(evt.button) != "undefined" && typeof(evt.ctrlKey) != "undefined")){
					break;
				}
				++ct;
				c = c.caller;
			}
		}
		return evt;
	}
};
if(!window.$){var $ = QZFL.dom.getById;}
QZONE.LoginPage = {
	bootStrap : function(){
		var lp=QZONE.LoginPage,sl_url=$('small_url');
		bg_img.src= 'http://qzs.qq.com/qzone/v6/v6_config/upload/' + bg_Data[1];
		if(bg_type==0){
			QZFL.css.addClassName(document.body,'mode_dark');
		}
		bg_img.onload=function(){
			QZFL.css.addClassName(bg_img,'lay_background_img_fade_out');
			lp.resizeBackground();
		}
		window.onload=function(){
			lp.resizeBackground();
		};

		sl_url.href = p_smallUrl || 'http://i.qq.com/';
		if(p_smallPic){
			if(window.ActiveXObject && (navigator.userAgent.indexOf('MSIE 6.0') > -1)){
				try{document.execCommand('BackgroundImageCache', false, true);}catch (ign){}
				sl_url.innerHTML='<span class="img_wrap" style="background-image:url(\''+p_smallPic+'\');_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+p_smallPic+'\');_background-image:none;">';
			}else{
				sl_url.innerHTML='<img id="small_pic" src="'+p_smallPic+'" alt="" />';
			}
		}else{
			sl_url.innerHTML = '<span class="img_slogan"></span>';
		}
		if(ft_col){
			QZFL.css.removeClassName(document.body,'mode_dark_footer');
		}
		check();
		window.onresize = function(){
			lp.resizeBackground();
			if(window.ActiveXObject && (navigator.userAgent.indexOf('MSIE 6.0') > -1) && QZFL.dom.getClientHeight()<600){
				$('lay').style.height = '600px';
			}else{
				$('lay').style.height = '';
			}
		};

		$('subbtn').disabled = false;

		var inputid = ['u', 'p', 'verifycode'];
		for(var i = 0, len=inputid.length; i < len; i++){
			var _id = inputid[i];
			if($(_id).value.length>0){$(_id+'hint').style.display = 'none'; }
		}

		var ipu=$('u'),hipu=$('uhint'),ipp=$('p'),hipp=$('phint'),ipv=$('verifycode'),hipv=$('verifycodehint'),uKeyup=function(){
			if(ipu.value.length>0){
				QZFL.css.addClassName(ipu,'ui_textinput_changed');
				hipu.style.display='none';
			}else{
				QZFL.css.removeClassName(ipu,'ui_textinput_changed');
				hipu.style.display='';
			}
		};
		uKeyup();
		
		ipu.onblur = function() {
			var u = ipu.value;
			if(u && (new RegExp(/^[a-zA-Z]{1}([a-zA-Z0-9]|[-_]){0,19}$/).test(u))) {
				ipu.value = u + '@qq.com';
			}
			check();
			QZFL.css.removeClassName(ipu,'ui_textinput_focus');
			if(ipu.value.length==0){
				hipu.style.display='';
			}
		};

		ipu.onfocus = function(){QZFL.css.addClassName(ipu,'ui_textinput_focus');hipu.style.display='none';};
		ipu.onkeyup = uKeyup;

		ipp.onfocus = function(){QZFL.css.addClassName(ipp,'ui_textinput_focus');hipp.style.display='none';};
		ipp.onblur = function(){QZFL.css.removeClassName(ipp,'ui_textinput_focus');if(ipp.value.length==0){hipp.style.display='';}};
		ipp.onclick = function(){check();};
		ipp.onkeyup = function(){
			if(ipp.value.length>0){
				hipp.style.display='none';
				QZFL.css.addClassName(ipp,'ui_textinput_changed');
			}else{
				hipp.style.display='';
				QZFL.css.removeClassName(ipp,'ui_textinput_changed');
			}
		};

		ipv.onfocus = function(){QZFL.css.addClassName(ipv,'ui_textinput_focus');hipv.style.display='none';};
		ipv.onblur = function(){QZFL.css.removeClassName(ipv,'ui_textinput_focus');if(ipv.value.length==0){hipv.style.display='';}};
		ipv.onkeyup = function(){
			if(ipv.value.length>0){
				QZFL.css.addClassName(ipv,'ui_textinput_changed');
			}else{
				QZFL.css.removeClassName(ipv,'ui_textinput_changed');
			}
		};

		TCISD.pv('ihome.qzone.qq.com','login/i');
	},

	resizeBackground : function(){
		var bg = $('lay_bg'),
			bg_img=$('lay_bg_img'),
			cw = QZFL.dom.getClientWidth(),
			ch = QZFL.dom.getClientHeight(),
			iw = bg_img.width,
			ih = bg_img.height;

		bg.style.width=cw+"px";
		bg.style.height=ch+"px";

		if (cw / ch > iw / ih) {
			var new_h = cw * ih / iw,
				imgTop = (ch - new_h) / 2;
			bg_img.style.width=cw + "px";
	        bg_img.style.height=new_h + "px";
	        bg_img.style.top=imgTop + "px";
	        bg_img.style.left="";
	    }else {
			var new_w = ch * iw / ih,
				imgLeft = (cw - new_w) / 2;
	        bg_img.style.width=new_w + "px";
	        bg_img.style.height=ch + "px";
	        bg_img.style.left=imgLeft + "px";
	        bg_img.style.top="";
	    }
	}
};
QZONE.LoginPage.bootStrap();
</script>
</body>
</html>